/*
 * NewClass.java
 *
 * Created on Pirmadienis, 2006, Lapkri�io 6, 11.09
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package keitykla;

import java.util.Hashtable;
import javax.microedition.lcdui.*;

/**
 *
 * @author rzig
 */
public class SetHashtable {
    
    /** Creates a new instance of NewClass */
    public SetHashtable() 
    {
    }

    private Hashtable table;
    
//----------------------------------------------------------------------------
    
    public void setHashtable(Hashtable table)
    {
        this.table=table;
    }
    
//----------------------------------------------------------------------------
    public Hashtable getTable()
    {
        return table;
    }
    
//----------------------------------------------------------------------------    

    private ChoiceGroup currList;
       
//----------------------------------------------------------------------------
    public void setCurrList(ChoiceGroup currList)
    {
        this.currList=currList;
    }
    
//----------------------------------------------------------------------------
    
    public ChoiceGroup getCurrList()
    {
        return aloha();
    }
    
//---------------------------------------------------------------------------    
    
    public ChoiceGroup aloha()
    {
        if(this.currList==null)
            this.currList= new ChoiceGroup("Valiutos", Choice.EXCLUSIVE);//new ChoiceGroup("Valiutos", Choice.EXCLUSIVE);
        return currList;
    }
}
